package cn.tedu.front.details.dao.persest.repository.impl;

import cn.tedu.front.details.dao.persest.mapper.CarouselMapper;
import cn.tedu.front.details.dao.persest.repository.CarouselRepository;
import cn.tedu.front.details.pojo.vo.CarouselVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class CarouselRepositoryImpl implements CarouselRepository {
    @Autowired
    CarouselMapper mapper;

    @Override
    public List<CarouselVO> listCarousel() {
        return mapper.listCarousel();
    }
}
